package com.ftg.product.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author kangjx
 * @createTime 2022/8/23
 */
@TableName("TBL_MONITOR_RULE")
@ApiModel("规则管理")
@Data
public class MonitorRule {

    @ApiModelProperty(value = "规则主键",example = "1234")
    @TableId
    BigDecimal ruleid;

    @ApiModelProperty(value = "规则名称",example = "测试规则")
    String rulename;

    @ApiModelProperty(value = "规则描述",example = "规则描述规则描述规则描述规则描述规则描述")
    String ruledescription;

    @ApiModelProperty(value = "规则编码",example = "规则编码")
    String rulecode;

    @ApiModelProperty(value = "版本",example = "版本")
    String rulepriority;

    @ApiModelProperty(value = "风险等级",example = "高级")
    String risklevel;

    @ApiModelProperty(value = "状态",example = "启用")
    String satus;

    @ApiModelProperty(value = "表达式",example = "表达式表达式表达式")
    String regexp;

    @ApiModelProperty(value = "sql",example = "sqlsqlsql")
    String rulesql;

    @ApiModelProperty(value = "memo",example = "memo")
    String memo;

    @ApiModelProperty(value = "inruleDb",example = "inruleDb")
    String inruledb;

    @ApiModelProperty(value = "提示",example = "inruleDb")
    String tips;

    @ApiModelProperty(value = "组织机构编号",example = "127634")
    BigDecimal orgid;

    @ApiModelProperty(value = "其它库",example = "127634")
    String connectionstrings;


    @ApiModelProperty(value = "运行状态",example = "127634")
    BigDecimal runstatus;

    @ApiModelProperty(value = "用户信息",example = "123")
    BigDecimal staffid;

    @ApiModelProperty(value = "导出sql",example = "select * from dual")
    BigDecimal reportsql;
}
